export default class Businesstype {
  static list (sender, params, axiosOption, httpOption) {
    return sender.doUrl('admin/businessType', 'get', params, axiosOption, httpOption);
  }
  static add (sender, params, axiosOption, httpOption) {
    return sender.doUrl('admin/businessType', 'post', params, axiosOption, httpOption);
  }
  static update (sender, params, axiosOption, httpOption) {
    return sender.doUrl('admin/businessType/update', 'post', params, axiosOption, httpOption);
  }
  static detail (sender, params, axiosOption, httpOption) {
    return sender.doUrl(`admin/businessType/${params}`, 'get', axiosOption, httpOption);
  }
  static delete (sender, params, axiosOption, httpOption) {
    return sender.doUrl(`admin/businessType/delete/${params}`, 'get', axiosOption, httpOption);
  }
  static deletes (sender, params, axiosOption, httpOption) {
    return sender.doUrl('admin/businessType/delete', 'get', params, axiosOption, httpOption);
  }
  static tree (sender, axiosOption, httpOption) {
    return sender.doUrl('admin/businessType/tree', 'GET', axiosOption, httpOption);
  }
}
